home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10771 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: ix.netcom.com!news
  2. From: andy0756@ix.netcom.com (Andy Connors)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: BC++ 4.5: 16 & 32-bit targets, single source- possible?
  5. Date: 10 Mar 1996 21:29:26 GMT
  6. Organization: Netcom
  7. Message-ID: <4hvhjm$542@dfw-ixnews2.ix.netcom.com>
  8. References: <4hknmp$mu9@nnrp1.news.primenet.com>
  9. NNTP-Posting-Host: irv-ca9-12.ix.netcom.com
  10. Mime-Version: 1.0
  11. Content-Type: Text/Plain; charset=US-ASCII
  12. X-NETCOM-Date: Sun Mar 10  3:29:26 PM CST 1996
  13. X-Newsreader: WinVN 0.99.7
  14.  
  15. In article <4hknmp$mu9@nnrp1.news.primenet.com>, bkeeler@primenet.com writes...
  16. >
  17. >I am using BC++ 4.52, and am developing for Win 16 & 32.  I want to be able to 
  18. >compile my source for both platforms within a single project.  I am trying to 
  19. >do this within the IDE.  I know that there's a way to recompile the source 
  20. >at will in a makefile.
  21. >
  22. >The problem is that when the first (16-bit) target is created, the .obj files 
  23. >are 16-bit records, then when it's time to create the second (32-bit) target, 
  24. >the maker sees that the obj file is up-to-date, and then the linker complains 
  25. >about 16-bit records when trying to create a 32-bit target.
  26. >
  27. >Is there a solution other than manually builing this each time, or using 
  28. >command-line tools?
  29. >
  30. >Thanks,
  31. >
  32. >Bill
  33. >
  34. >........................................................
  35. >
  36. >Bill Keeler:  bkeeler@primenet.com
  37. >Online PC Help - Computer Consulting, Custom Programming
  38. >
  39. >My opinions are ... well, what do you think?
  40.  
  41. See Borland's information on "Source Pools".  There's scanty written 
  42. documentation that refers you to an online example program.  You also need to 
  43. specify different directories for the object and .exe files for the 16-bit and 
  44. 32-bit versions.
  45.  
  46. Andy Connors
  47.  
  48.